<?php

define('DS', DIRECTORY_SEPARATOR);

require_once __DIR__ . DS . 'Fpdf.php';

$pdf = new Fpdf('P', 'cm', 'A4');

// Size: 795 x 1125 px
$file = __DIR__ . DS . 'tpl.jpg';

$pdf->AddPage();
$pdf->Image($file, $x=0, $y=0, $w=0, $h=0, $type='', $link='');

$pdf->AddPage();
$pdf->Image($file, $x=0, $y=0, $w=0, $h=0, $type='', $link='');

$pdf->AddPage();
$pdf->Image($file, $x=0, $y=0, $w=0, $h=0, $type='', $link='');

$pdf->Output();
exit;
